Eclipse Platform
Pre-release 3.0

org.eclipse.ui.commands
Class CommandHandlerServiceEvent

java.lang.Object
  extended byorg.eclipse.ui.commands.CommandHandlerServiceEvent

public final class CommandHandlerServiceEvent
extends Object

An instance of this class describes changes to an instance of ICommandHandlerService.

This class is not intended to be extended by clients.

EXPERIMENTAL

Since:
3.0
See Also:
ICommandHandlerServiceListener.commandHandlerServiceChanged(org.eclipse.ui.commands.CommandHandlerServiceEvent)

Constructor Summary
CommandHandlerServiceEvent(ICommandHandlerService commandHandlerService, boolean handlersByCommandIdChanged)
          Creates a new instance of this class.
 
Method Summary
 ICommandHandlerService getCommandHandlerService()
          Returns the instance of the interface that changed.
 boolean haveHandlersByCommandIdChanged()
          Returns whether or not the handlersByCommandIdChanged property changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandHandlerServiceEvent

public CommandHandlerServiceEvent(ICommandHandlerService commandHandlerService,
                                  boolean handlersByCommandIdChanged)
Creates a new instance of this class.

Parameters:
commandHandlerService - the instance of the interface that changed.
handlersByCommandIdChanged - true, iff the handlersByCommandId property changed.
Method Detail

getCommandHandlerService

public ICommandHandlerService getCommandHandlerService()
Returns the instance of the interface that changed.

Returns:
the instance of the interface that changed. Guaranteed not to be null.

haveHandlersByCommandIdChanged

public boolean haveHandlersByCommandIdChanged()
Returns whether or not the handlersByCommandIdChanged property changed.

Returns:
true, iff the handlersByCommandIdChanged property changed.

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.